//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.baidu.disconf.web.service.roleres.bo;

import com.baidu.dsp.common.dao.DB;
import com.baidu.unbiz.common.genericdao.annotation.Column;
import com.baidu.unbiz.common.genericdao.annotation.Table;
import com.github.knightliao.apollo.db.bo.BaseObject;

@Table(db = DB.DB_NAME, keyColumn = "role_res_id", name = "role_resource")
public class RoleResource extends BaseObject<Integer> {
    private static final long serialVersionUID = 1L;
    @Column("role_id")
    private Integer roleId;
    @Column("url_pattern")
    private String urlPattern;
    @Column("url_description")
    private String urlDescription;
    @Column("method_mask")
    private String methodMask;
    @Column("update_time")
    private String updateTime;

    public RoleResource() {
    }

    public static long getSerialversionuid() {
        return 1L;
    }

    public Integer getRoleId() {
        return this.roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public String getUrlPattern() {
        return this.urlPattern;
    }

    public void setUrlPattern(String urlPattern) {
        this.urlPattern = urlPattern;
    }

    public String getUrlDescription() {
        return this.urlDescription;
    }

    public void setUrlDescription(String urlDescription) {
        this.urlDescription = urlDescription;
    }

    public String getMethodMask() {
        return this.methodMask;
    }

    public void setMethodMask(String methodMask) {
        this.methodMask = methodMask;
    }

    public String getUpdateTime() {
        return this.updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String toString() {
        return "RoleResource [roleId=" + this.roleId + ", urlPattern=" + this.urlPattern + ", urlDescription=" + this.urlDescription + ", methodMask=" + this.methodMask + ", updateTime=" + this.updateTime + "]";
    }
}
